package controllersTest;



import java.awt.List;
import java.util.ArrayList;

import junit.framework.Assert;
import junit.framework.TestCase;
import org.testng.annotations.Test;

import controllers.*;
import daos.*;
import model.*;

public class AssignDesiredHoursControllerTest {

	@Test
	public void testCase1()
	{
		ArrayList<String> list1 = new ArrayList<String>();
		ArrayList<Integer> list2 = new ArrayList<Integer>();
		ArrayList<Integer> list3 = new ArrayList<Integer>();
		
		list1.add("Sunday");
		list2.add(13);
		list3.add(14);
		
		AssignDesiredHoursController newController = new AssignDesiredHoursController();
		
		newController.assignTimeSlots(list1,list2,list3, 7);
		
		FindStudentController tmp = new FindStudentController();
		
		StudentProfile student = tmp.findStudent(7);
		
		System.out.println("I found " + student.getDesiredHours().get(0).getDayOfTheWeek() );
		//TimeSlot test= new TimeSlot("Monday", 13,14);
		
		//Assert.assertEquals(student.getDesiredHours().get(0),test);

	}
}
